from Utils.router import router
from Utils.gy import Weekly


@router.get("/gy/weekly")  # 周单日同比
async def week():
    firstweek = Weekly.weekly()
    Percentage = Weekly.get_klPercentage()
    return {'weeksum': firstweek, 'Percentage': Percentage}
